#ifndef __CROSSFIRE_BASE_H_
#define __CROSSFIRE_BASE_H_

#define Assert(x,description) {\
	if (!(x)) {\
	int res=MessageBox(NULL, description, "MessageError", MB_OKCANCEL);\
	*pLog<<description<<" File: "<<__FILE__<<" Line: "<<__LINE__<<"\n";\
if (res==IDCANCEL)\
{\
	ExitProcess ((UINT)-1);\
}else\
	if (res == IDOK)\
	_asm{int 3};\
	}}\

#endif